Optimal. Leaf size=328 \[ \frac {\sqrt {d} \left (b^2-4 a c\right )^{15/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c x d}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{156 c^4 \sqrt {a+b x+c x^2}}-\frac {\sqrt {d} \left (b^2-4 a c\right )^{15/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c x d}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{156 c^4 \sqrt {a+b x+c x^2}}+\frac {\left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2} (b d+2 c d x)^{3/2}}{156 c^3 d}-\frac {5 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2} (b d+2 c d x)^{3/2}}{234 c^2 d}+\frac {\left (a+b x+c x^2\right )^{5/2} (b d+2 c d x)^{3/2}}{13 c d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.30, antiderivative size = 328, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {685, 691, 690, 307, 221, 1199, 424} \[ \frac {\left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2} (b d+2 c d x)^{3/2}}{156 c^3 d}-\frac {5 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2} (b d+2 c d x)^{3/2}}{234 c^2 d}+\frac {\sqrt {d} \left (b^2-4 a c\right )^{15/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c x d}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{156 c^4 \sqrt {a+b x+c x^2}}-\frac {\sqrt {d} \left (b^2-4 a c\right )^{15/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c x d}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{156 c^4 \sqrt {a+b x+c x^2}}+\frac {\left (a+b x+c x^2\right )^{5/2} (b d+2 c d x)^{3/2}}{13 c d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 221
Rule 307
Rule 424
Rule 685
Rule 690
Rule 691
Rule 1199
Rubi steps
\begin {align*} \int \sqrt {b d+2 c d x} \left (a+b x+c x^2\right )^{5/2} \, dx &=\frac {(b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{5/2}}{13 c d}-\frac {\left (5 \left (b^2-4 a c\right )\right ) \int \sqrt {b d+2 c d x} \left (a+b x+c x^2\right )^{3/2} \, dx}{26 c}\\ &=-\frac {5 \left (b^2-4 a c\right ) (b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{3/2}}{234 c^2 d}+\frac {(b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{5/2}}{13 c d}+\frac {\left (5 \left (b^2-4 a c\right )^2\right ) \int \sqrt {b d+2 c d x} \sqrt {a+b x+c x^2} \, dx}{156 c^2}\\ &=\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{3/2} \sqrt {a+b x+c x^2}}{156 c^3 d}-\frac {5 \left (b^2-4 a c\right ) (b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{3/2}}{234 c^2 d}+\frac {(b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{5/2}}{13 c d}-\frac {\left (b^2-4 a c\right )^3 \int \frac {\sqrt {b d+2 c d x}}{\sqrt {a+b x+c x^2}} \, dx}{312 c^3}\\ &=\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{3/2} \sqrt {a+b x+c x^2}}{156 c^3 d}-\frac {5 \left (b^2-4 a c\right ) (b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{3/2}}{234 c^2 d}+\frac {(b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{5/2}}{13 c d}-\frac {\left (\left (b^2-4 a c\right )^3 \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \int \frac {\sqrt {b d+2 c d x}}{\sqrt {-\frac {a c}{b^2-4 a c}-\frac {b c x}{b^2-4 a c}-\frac {c^2 x^2}{b^2-4 a c}}} \, dx}{312 c^3 \sqrt {a+b x+c x^2}}\\ &=\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{3/2} \sqrt {a+b x+c x^2}}{156 c^3 d}-\frac {5 \left (b^2-4 a c\right ) (b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{3/2}}{234 c^2 d}+\frac {(b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{5/2}}{13 c d}-\frac {\left (\left (b^2-4 a c\right )^3 \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {1-\frac {x^4}{\left (b^2-4 a c\right ) d^2}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{156 c^4 d \sqrt {a+b x+c x^2}}\\ &=\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{3/2} \sqrt {a+b x+c x^2}}{156 c^3 d}-\frac {5 \left (b^2-4 a c\right ) (b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{3/2}}{234 c^2 d}+\frac {(b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{5/2}}{13 c d}+\frac {\left (\left (b^2-4 a c\right )^{7/2} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^4}{\left (b^2-4 a c\right ) d^2}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{156 c^4 \sqrt {a+b x+c x^2}}-\frac {\left (\left (b^2-4 a c\right )^{7/2} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname {Subst}\left (\int \frac {1+\frac {x^2}{\sqrt {b^2-4 a c} d}}{\sqrt {1-\frac {x^4}{\left (b^2-4 a c\right ) d^2}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{156 c^4 \sqrt {a+b x+c x^2}}\\ &=\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{3/2} \sqrt {a+b x+c x^2}}{156 c^3 d}-\frac {5 \left (b^2-4 a c\right ) (b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{3/2}}{234 c^2 d}+\frac {(b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{5/2}}{13 c d}+\frac {\left (b^2-4 a c\right )^{15/4} \sqrt {d} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{156 c^4 \sqrt {a+b x+c x^2}}-\frac {\left (\left (b^2-4 a c\right )^{7/2} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {1+\frac {x^2}{\sqrt {b^2-4 a c} d}}}{\sqrt {1-\frac {x^2}{\sqrt {b^2-4 a c} d}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{156 c^4 \sqrt {a+b x+c x^2}}\\ &=\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{3/2} \sqrt {a+b x+c x^2}}{156 c^3 d}-\frac {5 \left (b^2-4 a c\right ) (b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{3/2}}{234 c^2 d}+\frac {(b d+2 c d x)^{3/2} \left (a+b x+c x^2\right )^{5/2}}{13 c d}-\frac {\left (b^2-4 a c\right )^{15/4} \sqrt {d} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{156 c^4 \sqrt {a+b x+c x^2}}+\frac {\left (b^2-4 a c\right )^{15/4} \sqrt {d} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{156 c^4 \sqrt {a+b x+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.07, size = 101, normalized size = 0.31 \[ \frac {\left (b^2-4 a c\right )^2 \sqrt {a+x (b+c x)} (d (b+2 c x))^{3/2} \, _2F_1\left (-\frac {5}{2},\frac {3}{4};\frac {7}{4};\frac {(b+2 c x)^2}{b^2-4 a c}\right )}{96 c^3 d \sqrt {\frac {c (a+x (b+c x))}{4 a c-b^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.66, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )} \sqrt {2 \, c d x + b d} \sqrt {c x^{2} + b x + a}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {2 \, c d x + b d} {\left (c x^{2} + b x + a\right )}^{\frac {5}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.08, size = 924, normalized size = 2.82 \[ \frac {\sqrt {\left (2 c x +b \right ) d}\, \sqrt {c \,x^{2}+b x +a}\, \left (288 c^{8} x^{8}+1152 b \,c^{7} x^{7}+1184 a \,c^{7} x^{6}+1720 b^{2} c^{6} x^{6}+3552 a b \,c^{6} x^{5}+1128 b^{3} c^{5} x^{5}+1888 a^{2} c^{6} x^{4}+3496 a \,b^{2} c^{5} x^{4}+268 b^{4} c^{4} x^{4}+3776 a^{2} b \,c^{5} x^{3}+1072 a \,b^{3} c^{4} x^{3}+992 a^{3} c^{5} x^{2}+2088 a^{2} b^{2} c^{4} x^{2}-120 a \,b^{4} c^{3} x^{2}+10 b^{6} c^{2} x^{2}+768 \sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {-\frac {2 c x +b}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {\frac {-2 c x -b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, a^{4} c^{4} \EllipticE \left (\frac {\sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {2}}{2}, \sqrt {2}\right )-768 \sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {-\frac {2 c x +b}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {\frac {-2 c x -b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, a^{3} b^{2} c^{3} \EllipticE \left (\frac {\sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {2}}{2}, \sqrt {2}\right )+992 a^{3} b \,c^{4} x +288 \sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {-\frac {2 c x +b}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {\frac {-2 c x -b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, a^{2} b^{4} c^{2} \EllipticE \left (\frac {\sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {2}}{2}, \sqrt {2}\right )+200 a^{2} b^{3} c^{3} x -48 \sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {-\frac {2 c x +b}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {\frac {-2 c x -b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, a \,b^{6} c \EllipticE \left (\frac {\sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {2}}{2}, \sqrt {2}\right )-64 a \,b^{5} c^{2} x +3 \sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {-\frac {2 c x +b}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {\frac {-2 c x -b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, b^{8} \EllipticE \left (\frac {\sqrt {\frac {2 c x +b +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {2}}{2}, \sqrt {2}\right )+6 b^{7} c x +248 a^{3} b^{2} c^{3}-68 a^{2} b^{4} c^{2}+6 a \,b^{6} c \right )}{936 \left (2 c^{2} x^{3}+3 b c \,x^{2}+2 a c x +b^{2} x +a b \right ) c^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {2 \, c d x + b d} {\left (c x^{2} + b x + a\right )}^{\frac {5}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \sqrt {b\,d+2\,c\,d\,x}\,{\left (c\,x^2+b\,x+a\right )}^{5/2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 18.21, size = 539, normalized size = 1.64 \[ \frac {a^{2} \left (b d + 2 c d x\right )^{\frac {3}{2}} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {\frac {\left (b d + 2 c d x\right )^{2} e^{i \pi }}{4 c d^{2} \operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}} \right )} \sqrt {\operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}}{4 c d \Gamma \left (\frac {7}{4}\right )} - \frac {a b^{2} \left (b d + 2 c d x\right )^{\frac {3}{2}} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {\frac {\left (b d + 2 c d x\right )^{2} e^{i \pi }}{4 c d^{2} \operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}} \right )} \sqrt {\operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}}{8 c^{2} d \Gamma \left (\frac {7}{4}\right )} + \frac {a \left (b d + 2 c d x\right )^{\frac {7}{2}} \Gamma \left (\frac {7}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {7}{4} \\ \frac {11}{4} \end {matrix}\middle | {\frac {\left (b d + 2 c d x\right )^{2} e^{i \pi }}{4 c d^{2} \operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}} \right )} \sqrt {\operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}}{8 c^{2} d^{3} \Gamma \left (\frac {11}{4}\right )} + \frac {b^{4} \left (b d + 2 c d x\right )^{\frac {3}{2}} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {\frac {\left (b d + 2 c d x\right )^{2} e^{i \pi }}{4 c d^{2} \operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}} \right )} \sqrt {\operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}}{64 c^{3} d \Gamma \left (\frac {7}{4}\right )} - \frac {b^{2} \left (b d + 2 c d x\right )^{\frac {7}{2}} \Gamma \left (\frac {7}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {7}{4} \\ \frac {11}{4} \end {matrix}\middle | {\frac {\left (b d + 2 c d x\right )^{2} e^{i \pi }}{4 c d^{2} \operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}} \right )} \sqrt {\operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}}{32 c^{3} d^{3} \Gamma \left (\frac {11}{4}\right )} + \frac {\left (b d + 2 c d x\right )^{\frac {11}{2}} \Gamma \left (\frac {11}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {11}{4} \\ \frac {15}{4} \end {matrix}\middle | {\frac {\left (b d + 2 c d x\right )^{2} e^{i \pi }}{4 c d^{2} \operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}} \right )} \sqrt {\operatorname {polar\_lift}{\left (a - \frac {b^{2}}{4 c} \right )}}}{64 c^{3} d^{5} \Gamma \left (\frac {15}{4}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________